package com.always.electrical.energy.web.data.service;

import com.always.electrical.energy.web.data.entity.IotPcsReportData;
import com.always.electrical.energy.web.data.mapper.IotPcsReportDataMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author baomidou
 * @since 2024-12-14
 */
@Service
public class IIotPcsReportDataService extends ServiceImpl<IotPcsReportDataMapper, IotPcsReportData> implements IService<IotPcsReportData> {

    @Autowired
    private IotPcsReportDataMapper iotPcsReportDataMapper;

    public List<IotPcsReportData> selectNewList(List<BigDecimal> deviceIds) {
        return iotPcsReportDataMapper.selectNewList(deviceIds);
    }
}
